package aa.jx.order.mapper;

import aa.jx.order.model.PaymentInfo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface PaymentMapper {
    int insert(PaymentInfo paymentInfo);
    PaymentInfo selectById(Long id);
    PaymentInfo selectByOrderId(Long orderId);
    int updateStatus(PaymentInfo paymentInfo);
    int cancelPayment(Long paymentId);
}